package org.whuims.core.dataprocessor.page;

import org.ansj.domain.Result;
import org.ansj.domain.Term;

/**
 * Created by cheng on 2016/12/29.
 */
public class Test {
    public static void main(String[] args) {
        Result result = WordSplitter.getInstance().parse("必 要 必 要时尚须注明含水率、吸湿率、热膨胀系数、收缩率、抗折强度、腐蚀性及耐腐蚀性等性能。温度不能大于100。温度不大于100。");
        for (Term term : result.getTerms()) {
            System.out.println(term.getName() + "\t" + term.getNatureStr());
        }
    }
}
